package com.tms.springboot.feign;

import com.tms.springboot.result.JsonResult;
import com.tms.springboot.work.pojo.PdTaskPickupDispatch;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@FeignClient(value = "pd-worklk", path = "/pd-task-pickup-dispatch")
public interface TaskPickupDispatchFeign {
    @RequestMapping("/addPdTask")
    public JsonResult addPdTask(@RequestBody PdTaskPickupDispatch pdTaskPickupDispatch);
}
